package com.isoft.student.dao;

import com.isoft.student.eo.TeacherEOPage;
import com.isoft.student.model.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 操作数据库方法的对接
 */
@Mapper
public interface TeacherMapper {
    //添加教师信息
    int insertTeacher(Teacher teacher);
    //通过教师号来获取教师的信息
    int getTnumberCount(String tnumber);
    //通过主键学生信息更新
    int updateTeacher(Teacher teacher);
    //通过主键学生信息删除
    int delTeacher(Integer teacher);
    //教师信息列表信息查询
    List<TeacherEOPage> getTeacherWhereAll(TeacherEOPage teacherEOPage);
}
